/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.aal.business;

import com.aal.entity.Employee;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author quy
 */
@Local
public interface EmployeeManagementLocal {

    boolean loginOk(String username,String password);
    boolean createUser(String userName, String password, String firstName, String lastName, String email,String phone, boolean gender);

    boolean editUser(String username, String password, String firstname, String lastname, String email, String phone, boolean gender);

    List<Employee> searchEmployee(String username);
    
}
